home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 September
/
PCWorld_2004-09_cd.bin
/
software
/
topware
/
winamp
/
winamp504_full.exe
/
$R0
/
Winamp Modern
/
eq.m
< prev
next >
Wrap
Text File
|
2004-07-01
|
517b
|
23 lines
#include <lib/std.mi>
Global Group frameGroup;
Global Button btnEQp12,btnEQ0,btnEQm12;
System.onScriptLoaded() {
frameGroup = getScriptGroup();
btnEQp12 = frameGroup.findObject("EQ_p12");
btnEQ0 = frameGroup.findObject("EQ_0");
btnEQm12 = frameGroup.findObject("EQ_m12");
}
btnEQp12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 127);
}
btnEQ0.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 0);
}
btnEQm12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, -127);
}